<html>
<head>
<title>message.ets</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #a9b7c6;}
.s1 { color: #faa23d;}
.s2 { color: #aa7dfc;}
.s3 { color: #e2da90;}
.s4 { color: #bbb529;}
.s5 { color: #db7e9b;}
.s6 { color: #b3e54c;}
</style>
</head>
<body bgcolor="#2b2b2b">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
message.ets</font>
</center></td></tr></table>
<pre><span class="s0">import </span><span class="s1">{ </span><span class="s0">http </span><span class="s1">} </span><span class="s0">from </span><span class="s2">&quot;@kit.NetworkKit&quot;</span>
<span class="s0">import </span><span class="s1">{ </span><span class="s0">BusinessError </span><span class="s1">} </span><span class="s0">from </span><span class="s2">&quot;@kit.BasicServicesKit&quot;</span>

<span class="s0">export interface Users</span><span class="s1">{</span>
  <span class="s0">userId</span><span class="s3">:</span><span class="s0">number</span>
  <span class="s0">userImg</span><span class="s3">:</span><span class="s0">string</span>
  <span class="s0">userName</span><span class="s3">:</span><span class="s0">string</span>
<span class="s1">}</span>

<span class="s0">interface GeneratedObjectLiteralInterface_1 </span><span class="s1">{</span>
  <span class="s0">id</span><span class="s3">: </span><span class="s0">number</span><span class="s3">;</span>
  <span class="s0">title</span><span class="s3">: </span><span class="s0">string</span><span class="s3">;</span>
  <span class="s0">category</span><span class="s3">: </span><span class="s0">string</span><span class="s3">;</span>
<span class="s1">}</span>

<span class="s4">@</span><span class="s0">Entry</span>
<span class="s4">@</span><span class="s0">Component</span>
<span class="s0">export struct message </span><span class="s1">{</span>

  <span class="s4">@</span><span class="s0">Consume</span>
  <span class="s0">stackPath</span><span class="s3">:</span><span class="s0">NavPathStack</span>

  <span class="s4">@</span><span class="s0">State bool</span><span class="s3">:</span><span class="s0">boolean</span><span class="s3">=</span><span class="s0">false</span>
  <span class="s4">@</span><span class="s0">State arr</span><span class="s3">:</span><span class="s0">Array</span><span class="s3">&lt;</span><span class="s0">Users</span><span class="s3">&gt;=</span><span class="s5">[]</span>

  <span class="s0">aboutToAppear</span><span class="s5">()</span><span class="s3">: </span><span class="s0">void </span><span class="s1">{</span>
    <span class="s0">this</span><span class="s3">.</span><span class="s0">search</span><span class="s5">()</span>
  <span class="s1">}</span>

  <span class="s0">search</span><span class="s5">()</span><span class="s1">{</span>
    <span class="s0">let httpRequest</span><span class="s3">=</span><span class="s0">http</span><span class="s3">.</span><span class="s0">createHttp</span><span class="s5">()</span><span class="s3">;</span>
    <span class="s0">httpRequest</span><span class="s3">.</span><span class="s0">request</span><span class="s5">(</span><span class="s2">&quot;http://192.168.143.7:8080/DouYin/Users&quot;</span><span class="s3">,</span>
      <span class="s5">(</span><span class="s0">err</span><span class="s3">:</span><span class="s0">BusinessError</span><span class="s3">,</span><span class="s0">data</span><span class="s3">:</span><span class="s0">http</span><span class="s3">.</span><span class="s0">HttpResponse</span><span class="s5">)</span><span class="s3">=&gt;</span><span class="s1">{</span>
        <span class="s0">this</span><span class="s3">.</span><span class="s0">arr</span><span class="s3">=</span><span class="s0">JSON</span><span class="s3">.</span><span class="s0">parse</span><span class="s5">(</span><span class="s0">data</span><span class="s3">.</span><span class="s0">result</span><span class="s3">.</span><span class="s0">toString</span><span class="s5">()) </span><span class="s0">as Array</span><span class="s3">&lt;</span><span class="s0">Users</span><span class="s3">&gt;</span>
      <span class="s1">}</span><span class="s5">)</span>
  <span class="s1">}</span>

  <span class="s0">delete</span><span class="s5">(</span><span class="s0">id</span><span class="s3">:</span><span class="s0">number</span><span class="s5">)</span><span class="s1">{</span>
    <span class="s0">let httpRequest</span><span class="s3">=</span><span class="s0">http</span><span class="s3">.</span><span class="s0">createHttp</span><span class="s5">()</span><span class="s3">;</span>
    <span class="s0">httpRequest</span><span class="s3">.</span><span class="s0">request</span><span class="s5">(</span><span class="s2">&quot;http://192.168.143.7:8080/DouYin/deleteUsers&quot;</span><span class="s3">, </span><span class="s1">{</span>
        <span class="s2">&quot;method&quot;</span><span class="s3">: </span><span class="s0">http</span><span class="s3">.</span><span class="s0">RequestMethod</span><span class="s3">.</span><span class="s0">DELETE</span><span class="s3">,</span>
        <span class="s0">header</span><span class="s3">: </span><span class="s1">{</span>
          <span class="s2">'Content-Type'</span><span class="s3">: </span><span class="s2">'application/json'</span>
        <span class="s1">}</span><span class="s3">,</span>
        <span class="s0">extraData</span><span class="s3">:</span><span class="s1">{</span>
          <span class="s0">userId</span><span class="s3">:</span><span class="s0">id</span>
        <span class="s1">}</span>
      <span class="s1">}</span><span class="s3">,</span>
      <span class="s5">(</span><span class="s0">err</span><span class="s3">:</span><span class="s0">BusinessError</span><span class="s3">,</span><span class="s0">data</span><span class="s3">:</span><span class="s0">http</span><span class="s3">.</span><span class="s0">HttpResponse</span><span class="s5">)</span><span class="s3">=&gt;</span><span class="s1">{</span>
        <span class="s0">this</span><span class="s3">.</span><span class="s0">arr</span><span class="s3">=</span><span class="s0">JSON</span><span class="s3">.</span><span class="s0">parse</span><span class="s5">(</span><span class="s0">data</span><span class="s3">.</span><span class="s0">result</span><span class="s3">.</span><span class="s0">toString</span><span class="s5">()) </span><span class="s0">as Array</span><span class="s3">&lt;</span><span class="s0">Users</span><span class="s3">&gt;</span>
      <span class="s1">}</span><span class="s5">)</span>
  <span class="s1">}</span>



    <span class="s0">build</span><span class="s5">() </span><span class="s1">{</span>
      <span class="s0">NavDestination</span><span class="s5">() </span><span class="s1">{</span>
        <span class="s0">List</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">space</span><span class="s3">: </span><span class="s6">15 </span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
          <span class="s0">ListItem</span><span class="s5">() </span><span class="s1">{</span>
            <span class="s0">Column</span><span class="s5">(</span><span class="s1">{</span><span class="s0">space</span><span class="s3">:</span><span class="s6">15</span><span class="s1">}</span><span class="s5">)</span><span class="s1">{</span>

              <span class="s0">List</span><span class="s5">() </span><span class="s1">{</span>
                <span class="s0">ListItem</span><span class="s5">() </span><span class="s1">{</span>
                  <span class="s0">Row</span><span class="s5">() </span><span class="s1">{</span>
                    <span class="s0">Text</span><span class="s5">(</span><span class="s2">&quot;消息&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontWeight</span><span class="s5">(</span><span class="s0">FontWeight</span><span class="s3">.</span><span class="s0">Bold</span><span class="s5">)</span><span class="s3">.</span><span class="s0">margin</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">left</span><span class="s3">: </span><span class="s6">170 </span><span class="s1">}</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontSize</span><span class="s5">(</span><span class="s6">20</span><span class="s5">)</span>
                    <span class="s0">Image</span><span class="s5">(</span><span class="s0">$r</span><span class="s5">(</span><span class="s2">&quot;app.media.search&quot;</span><span class="s5">))</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s6">25</span><span class="s5">)</span><span class="s3">.</span><span class="s0">margin</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">left</span><span class="s3">: </span><span class="s6">70 </span><span class="s1">}</span><span class="s5">)</span>
                      <span class="s3">.</span><span class="s0">onClick</span><span class="s5">(()</span><span class="s3">=&gt;</span><span class="s1">{</span>
                        <span class="s0">this</span><span class="s3">.</span><span class="s0">stackPath</span><span class="s3">.</span><span class="s0">pushPathByName</span><span class="s5">(</span><span class="s2">&quot;searchPage&quot;</span><span class="s3">,</span><span class="s0">undefined</span><span class="s5">)</span>
                      <span class="s1">}</span><span class="s5">)</span>
                    <span class="s0">Image</span><span class="s5">(</span><span class="s0">$r</span><span class="s5">(</span><span class="s2">&quot;app.media.add&quot;</span><span class="s5">))</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s6">25</span><span class="s5">)</span><span class="s3">.</span><span class="s0">margin</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">left</span><span class="s3">: </span><span class="s6">30 </span><span class="s1">}</span><span class="s5">)</span>
                      <span class="s3">.</span><span class="s0">bindMenu</span><span class="s5">([</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;faqiqunliao.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'发起群聊'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">console</span><span class="s3">.</span><span class="s0">info</span><span class="s5">(</span><span class="s2">'handle Menu1 select'</span><span class="s5">)</span><span class="s3">;</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span><span class="s3">,</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;tianjiapengyou.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'添加朋友'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">console</span><span class="s3">.</span><span class="s0">info</span><span class="s5">(</span><span class="s2">'handle Menu1 select'</span><span class="s5">)</span><span class="s3">;</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span><span class="s3">,</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;saoyisao.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'扫一扫'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">console</span><span class="s3">.</span><span class="s0">info</span><span class="s5">(</span><span class="s2">'handle Menu1 select'</span><span class="s5">)</span><span class="s3">;</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span>
                      <span class="s5">])</span>

                  <span class="s1">}</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s2">&quot;100%&quot;</span><span class="s5">)</span>
                <span class="s1">}</span>
              <span class="s1">}</span>

              <span class="s0">List</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">space</span><span class="s3">: </span><span class="s6">15 </span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
                <span class="s0">ForEach</span><span class="s5">(</span><span class="s0">this</span><span class="s3">.</span><span class="s0">arr</span><span class="s3">, </span><span class="s5">(</span><span class="s0">item</span><span class="s3">: </span><span class="s0">Users</span><span class="s5">) </span><span class="s3">=&gt; </span><span class="s1">{</span>
                  <span class="s0">ListItem</span><span class="s5">() </span><span class="s1">{</span>
                    <span class="s0">Column</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">space</span><span class="s3">: </span><span class="s6">10 </span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
                      <span class="s0">Image</span><span class="s5">(</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s0">item</span><span class="s3">.</span><span class="s0">userImg</span><span class="s5">))</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s6">50</span><span class="s5">)</span><span class="s3">.</span><span class="s0">borderRadius</span><span class="s5">(</span><span class="s6">40</span><span class="s5">)</span>
                      <span class="s0">Text</span><span class="s5">(</span><span class="s0">item</span><span class="s3">.</span><span class="s0">userName</span><span class="s5">)</span>
                    <span class="s1">}</span>
                  <span class="s1">}</span><span class="s3">.</span><span class="s0">onClick</span><span class="s5">(() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                    <span class="s0">this</span><span class="s3">.</span><span class="s0">stackPath</span><span class="s3">.</span><span class="s0">pushPathByName</span><span class="s5">(</span><span class="s2">'pageOne'</span><span class="s3">, </span><span class="s0">item</span><span class="s3">.</span><span class="s0">userId</span><span class="s5">)</span><span class="s3">;</span>
                  <span class="s1">}</span><span class="s5">)</span>
                <span class="s1">}</span><span class="s5">)</span>
              <span class="s1">}  </span><span class="s3">.</span><span class="s0">listDirection</span><span class="s5">(</span><span class="s0">Axis</span><span class="s3">.</span><span class="s0">Horizontal</span><span class="s5">)</span>
              <span class="s3">.</span><span class="s0">height</span><span class="s5">(</span><span class="s2">&quot;12%&quot;</span><span class="s5">)</span>
              <span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s2">&quot;100%&quot;</span><span class="s5">)</span>
              <span class="s3">.</span><span class="s0">margin</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">left</span><span class="s3">: </span><span class="s6">5</span><span class="s3">, </span><span class="s0">top</span><span class="s3">: </span><span class="s6">25 </span><span class="s1">}</span><span class="s5">)</span>
              <span class="s3">.</span><span class="s0">scrollBar</span><span class="s5">(</span><span class="s0">BarState</span><span class="s3">.</span><span class="s0">Off</span><span class="s5">)</span>



              <span class="s0">List</span><span class="s5">() </span><span class="s1">{</span>
                <span class="s0">ListItem</span><span class="s5">() </span><span class="s1">{</span>
                  <span class="s0">Row</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">space</span><span class="s3">: </span><span class="s6">15 </span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
                    <span class="s0">Image</span><span class="s5">(</span><span class="s0">$r</span><span class="s5">(</span><span class="s2">&quot;app.media.concern&quot;</span><span class="s5">))</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s6">63</span><span class="s5">)</span>
                    <span class="s0">Column</span><span class="s5">(</span><span class="s1">{</span><span class="s0">space</span><span class="s3">:</span><span class="s6">6</span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
                      <span class="s0">Text</span><span class="s5">(</span><span class="s2">&quot;新关注我的&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontSize</span><span class="s5">(</span><span class="s6">15</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontWeight</span><span class="s5">(</span><span class="s0">FontWeight</span><span class="s3">.</span><span class="s0">Bold</span><span class="s5">)</span>
                      <span class="s0">Text</span><span class="s5">(</span><span class="s2">&quot;凡人修仙传关注了你&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontSize</span><span class="s5">(</span><span class="s6">12</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontColor</span><span class="s5">(</span><span class="s0">Color</span><span class="s3">.</span><span class="s0">Grey</span><span class="s5">)</span>
                    <span class="s1">}</span><span class="s3">.</span><span class="s0">alignItems</span><span class="s5">(</span><span class="s0">HorizontalAlign</span><span class="s3">.</span><span class="s0">Start</span><span class="s5">)</span>
                  <span class="s1">}</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s2">&quot;100%&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">onClick</span><span class="s5">(()</span><span class="s3">=&gt;</span><span class="s1">{</span>
                    <span class="s0">this</span><span class="s3">.</span><span class="s0">stackPath</span><span class="s3">.</span><span class="s0">pushPathByName</span><span class="s5">(</span><span class="s2">&quot;concernMe&quot;</span><span class="s3">,</span><span class="s0">undefined</span><span class="s5">)</span>
                    <span class="s0">this</span><span class="s3">.</span><span class="s0">search</span><span class="s5">()</span>
                  <span class="s1">}</span><span class="s5">)</span>
                <span class="s1">}</span>
              <span class="s1">}</span>

              <span class="s0">List</span><span class="s5">() </span><span class="s1">{</span>
                <span class="s0">ListItem</span><span class="s5">() </span><span class="s1">{</span>
                  <span class="s0">Row</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">space</span><span class="s3">: </span><span class="s6">15 </span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
                    <span class="s0">Image</span><span class="s5">(</span><span class="s0">$r</span><span class="s5">(</span><span class="s2">&quot;app.media.interaction&quot;</span><span class="s5">))</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s6">63</span><span class="s5">)</span>
                    <span class="s0">Column</span><span class="s5">(</span><span class="s1">{</span><span class="s0">space</span><span class="s3">:</span><span class="s6">6</span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
                      <span class="s0">Text</span><span class="s5">(</span><span class="s2">&quot;互动消息&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontSize</span><span class="s5">(</span><span class="s6">15</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontWeight</span><span class="s5">(</span><span class="s0">FontWeight</span><span class="s3">.</span><span class="s0">Bold</span><span class="s5">)</span>
                      <span class="s0">Text</span><span class="s5">(</span><span class="s2">&quot;没有新通知&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontSize</span><span class="s5">(</span><span class="s6">12</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontColor</span><span class="s5">(</span><span class="s0">Color</span><span class="s3">.</span><span class="s0">Grey</span><span class="s5">)</span>
                    <span class="s1">}</span><span class="s3">.</span><span class="s0">alignItems</span><span class="s5">(</span><span class="s0">HorizontalAlign</span><span class="s3">.</span><span class="s0">Start</span><span class="s5">)</span>
                  <span class="s1">}</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s2">&quot;100%&quot;</span><span class="s5">)</span>
                <span class="s1">}</span>
              <span class="s1">}</span>

            <span class="s0">ForEach</span><span class="s5">(</span><span class="s0">this</span><span class="s3">.</span><span class="s0">arr</span><span class="s3">, </span><span class="s5">(</span><span class="s0">item</span><span class="s3">: </span><span class="s0">Users</span><span class="s5">) </span><span class="s3">=&gt; </span><span class="s1">{</span>
              <span class="s0">ListItem</span><span class="s5">() </span><span class="s1">{</span>
                  <span class="s0">Row</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">space</span><span class="s3">: </span><span class="s6">15 </span><span class="s1">}</span><span class="s5">) </span><span class="s1">{</span>
                    <span class="s0">Image</span><span class="s5">(</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s0">item</span><span class="s3">.</span><span class="s0">userImg</span><span class="s5">))</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s6">55</span><span class="s5">)</span><span class="s3">.</span><span class="s0">borderRadius</span><span class="s5">(</span><span class="s6">40</span><span class="s5">)</span>
                      <span class="s3">.</span><span class="s0">bindMenu</span><span class="s5">([</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;miandarao.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'设置免打扰'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">console</span><span class="s3">.</span><span class="s0">info</span><span class="s5">(</span><span class="s2">'handle Menu1 select'</span><span class="s5">)</span><span class="s3">;</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span><span class="s3">,</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;zhiding.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'置顶'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">console</span><span class="s3">.</span><span class="s0">info</span><span class="s5">(</span><span class="s2">'handle Menu1 select'</span><span class="s5">)</span><span class="s3">;</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span><span class="s3">,</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;buxianshi.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'不显示'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">console</span><span class="s3">.</span><span class="s0">info</span><span class="s5">(</span><span class="s2">'handle Menu1 select'</span><span class="s5">)</span><span class="s3">;</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span><span class="s3">,</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;lahei.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'拉黑'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">console</span><span class="s3">.</span><span class="s0">info</span><span class="s5">(</span><span class="s2">'handle Menu1 select'</span><span class="s5">)</span><span class="s3">;</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span><span class="s3">,</span>
                        <span class="s1">{</span>
                          <span class="s0">icon</span><span class="s3">:</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;delete.jpg&quot;</span><span class="s5">)</span><span class="s3">,</span>
                          <span class="s0">value</span><span class="s3">: </span><span class="s2">'删除'</span><span class="s3">,</span>
                          <span class="s0">action</span><span class="s3">: </span><span class="s5">() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                            <span class="s0">this</span><span class="s3">.</span><span class="s0">delete</span><span class="s5">(</span><span class="s0">item</span><span class="s3">.</span><span class="s0">userId</span><span class="s5">)</span>
                          <span class="s1">}</span>
                        <span class="s1">}</span>
                      <span class="s5">])</span>
                    <span class="s0">Text</span><span class="s5">(</span><span class="s0">item</span><span class="s3">.</span><span class="s0">userName</span><span class="s5">)</span>
                    <span class="s0">Row</span><span class="s5">() </span><span class="s1">{</span>
                      <span class="s0">Image</span><span class="s5">(</span><span class="s0">$rawfile</span><span class="s5">(</span><span class="s2">&quot;huohua.jpg&quot;</span><span class="s5">))</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s6">25</span><span class="s5">)</span>
                      <span class="s0">Text</span><span class="s5">(</span><span class="s2">&quot;110&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">fontColor</span><span class="s5">(</span><span class="s2">&quot;#E4671A&quot;</span><span class="s5">)</span>
                    <span class="s1">}</span><span class="s3">.</span><span class="s0">margin</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">left</span><span class="s3">: -</span><span class="s6">14 </span><span class="s1">}</span><span class="s5">)</span>
                  <span class="s1">}</span><span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s2">&quot;100%&quot;</span><span class="s5">)</span><span class="s3">.</span><span class="s0">justifyContent</span><span class="s5">(</span><span class="s0">FlexAlign</span><span class="s3">.</span><span class="s0">Start</span><span class="s5">)</span><span class="s3">.</span><span class="s0">margin</span><span class="s5">(</span><span class="s1">{ </span><span class="s0">left</span><span class="s3">: </span><span class="s6">5 </span><span class="s1">}</span><span class="s5">)</span>
              <span class="s1">}</span><span class="s3">.</span><span class="s0">onClick</span><span class="s5">(() </span><span class="s3">=&gt; </span><span class="s1">{</span>
                <span class="s0">this</span><span class="s3">.</span><span class="s0">stackPath</span><span class="s3">.</span><span class="s0">pushPathByName</span><span class="s5">(</span><span class="s2">'pageOne'</span><span class="s3">, </span><span class="s0">item</span><span class="s3">.</span><span class="s0">userId</span><span class="s5">)</span><span class="s3">;</span>
              <span class="s1">}</span><span class="s5">)</span>
            <span class="s1">}</span><span class="s5">)</span>

            <span class="s1">}</span>
          <span class="s1">}</span>
        <span class="s1">} </span><span class="s3">.</span><span class="s0">scrollBar</span><span class="s5">(</span><span class="s0">BarState</span><span class="s3">.</span><span class="s0">Off</span><span class="s5">)</span>
          <span class="s3">.</span><span class="s0">height</span><span class="s5">(</span><span class="s2">&quot;100%&quot;</span><span class="s5">)</span>
          <span class="s3">.</span><span class="s0">width</span><span class="s5">(</span><span class="s2">&quot;96%&quot;</span><span class="s5">)</span>
      <span class="s1">}</span>
    <span class="s1">}</span>
<span class="s1">}</span></pre>
</body>
</html>